package com.demo.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.connection.RedisConnectionFactory;

@Configuration
public class RedisConfig {

    @Bean
    public ObjectRedisTemplate createOrt(RedisConnectionFactory rcf) {
        return new ObjectRedisTemplate(rcf);
    }
}
